package com.celesea.auth.core.entity;

import java.util.Date;

/**
 * ${DESCRIPTION}
 *
 * @author JackYuan
 * @create 2017-10-25 14:13
 */
public abstract class BusEntity extends BaseEntity {

    /**
     * 租户Id
     */
    private String tenantId;

    /**
     * 服务器创建时间.
     */
    private Date serverCreateTime;

    /**
     * 服务器最后修改时间.
     */
    private Date serverUpdateTime;

    /**
     * 创建者ID.
     */
    private Long creatorId;

    /**
     * 创建者姓名.
     */
    private String creatorName;

    /**
     * 最后修改者ID.
     */
    private Long updatorId;

    /**
     * 最后修改者姓名.
     */
    private String updatorName;

    /**
     * 逻辑删除状态.
     */
    private Byte deleteFlag;


    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Date getServerCreateTime() {
        return serverCreateTime;
    }

    public void setServerCreateTime(Date serverCreateTime) {
        this.serverCreateTime = serverCreateTime;
    }

    public Date getServerUpdateTime() {
        return serverUpdateTime;
    }

    public void setServerUpdateTime(Date serverUpdateTime) {
        this.serverUpdateTime = serverUpdateTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Long getUpdatorId() {
        return updatorId;
    }

    public void setUpdatorId(Long updatorId) {
        this.updatorId = updatorId;
    }

    public String getUpdatorName() {
        return updatorName;
    }

    public void setUpdatorName(String updatorName) {
        this.updatorName = updatorName;
    }

    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
